From 9f36e8aaa0ff55530c92d89488faf7b5a510fe15 Mon Sep 17 00:00:00 2001 From: Dominique Belhachemi Date: Thu, 4 Sep 2025 17:59:52 -0400 Subject: [PATCH] Apply upstream patch to fix gcc-15 FTBFS issue (Closes: #1111572) --- debian/changelog | 1 + debian/patches/42_fix_octree_node.patch | 13 +++++++++++++ debian/patches/series | 1 + 3 files changed, 15 insertions(+) create mode 100644 debian/patches/42_fix_octree_node.patch diff --git a/debian/changelog b/debian/changelog index 1be2d7a9c..c85630b62 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ vtk9 (9.3.0+dfsg1-7) UNRELEASED; urgency=medium * Remove obsolete libosmesa6-dev dependency. (Closes: #1113920) * Remove obsolete tcl-dev and tk-dev dependency. * Remove r-base dependency + * Apply upstream patch to fix gcc-15 FTBFS issue (Closes: #1111572) -- Dominique Belhachemi Thu, 04 Sep 2025 14:06:08 -0400 diff --git a/debian/patches/42_fix_octree_node.patch b/debian/patches/42_fix_octree_node.patch new file mode 100644 index 000000000..5956e9521 --- /dev/null +++ b/debian/patches/42_fix_octree_node.patch @@ -0,0 +1,13 @@ +Description: Fix undefined variable name in octree_node + +--- vtk9-9.3.0+dfsg1.orig/Utilities/octree/octree/octree_node.txx ++++ vtk9-9.3.0+dfsg1/Utilities/octree/octree/octree_node.txx +@@ -210,7 +210,7 @@ const octree_node& octree_no + { + throw std::domain_error("Attempt to access children of an octree leaf node."); + } +- return this->_M_chilren[child]; ++ return this->m_children[child]; + } + + /**\brief Return a reference to a child node. diff --git a/debian/patches/series b/debian/patches/series index 5368f429f..b3eb0c0fc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,6 +3,7 @@ 20_do_not_link_against_socket.patch 30_drop_medical_example.patch 40_vtkpython-9.patch +42_fix_octree_node.patch 50_fix_python-modules_path.patch 60_fix_path_perl.patch 84_vtkQWidgetTexture_no_vtkOpenGLCheckErrorMacro.patch -- 2.30.2